package ee.tallink.common.servlet;

import java.io.IOException;
import java.text.Format;
import java.text.SimpleDateFormat;
import java.util.Date;

import javax.servlet.RequestDispatcher;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


public class EdiServlet extends HttpServlet {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1238762125972489734L;
	public void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws IOException {
		try {
			RequestDispatcher rd = req.getRequestDispatcher("/WEB-INF/views/invoices.jsp");
	
		    String action = req.getParameter("action");
		      
		      if ("CHECKOUT".equals(action)) {

		      }
			rd.forward(req, resp);

		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
